#ifndef __UTIL_H
#define __UTIL_H

#include <stdint.h>

typedef struct _call_chain_s{
    void (*ptr)(void);
    char *name;
    struct _call_chain_s *next;
}CALL_CHAIN_S;

void pushCallchain(CALL_CHAIN_S *head, CALL_CHAIN_S *node);
CALL_CHAIN_S * popCallchain(CALL_CHAIN_S *head);

#endif //__UTIL_H
